﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.Enum;
using Comm100.Domain.Entity;
namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_Subscription")]
    public class Subscription: IMultiSite
    {
        [Key]             
        public int SiteId { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime NextRenewDate { get; set; }
        public int TotalPurchasedMessageAmount { get; set; }
        public EnumPaymentPeriod PaymentPeriod { get; set; }
        public int MesssageQuotaPerMonth { get; set; }
        public decimal MonthlyListPrice { get; set; }
        public decimal QuarterlyListPrice { get; set; }
        public decimal YearlyListPrice { get; set; }
        public int OverageMessageQuota { get; set; }
        public decimal OverageUnitPrice { get; set; }
        public bool IfSentedQuotaAlmostUsedOutMail { get; set; }
    }
}
